Update Webhook
PUThttps://api.fuse.io/api/v0/notifications/webhook
Update webhook's webhookUrl
or eventType
Request
Query Parameters
apiKey stringrequired
Example: {{publicKey}}
Header Parameters
API-SECRET stringrequired
Example: {{secretKey}}
- application/json
Body
webhookId string
webhookUrl string
eventType string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
_id string
projectId string
webhookUrl string
eventType string
createdAt string
updatedAt string
__v number
{
"_id": "62d3f2aa15a8393bd802c313",
"projectId": "62ce87c8131bbffe0f83af65",
"webhookUrl": "https://webhook.site/d7a716ac-8119-4114-9586-f0667c2cb1e3",
"eventType": "ERC20",
"createdAt": "2022-07-17T11:29:46.459Z",
"updatedAt": "2022-07-17T11:31:22.776Z",
"__v": 0
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PUT 'https://api.fuse.io/api/v0/notifications/webhook' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"webhookId": "62d3f2aa15a8393bd802c313",
"webhookUrl": "https://webhook.site/d7a716ac-8119-4114-9586-f0667c2cb1e3",
"eventType": "ERC20"
}'
ResponseClear